3.258 \(\int x^3 (A+B x) \left (a+c x^2\right )^2 \, dx\)

Optimal. Leaf size=65 \[ \frac{1}{4} a^2 A x^4+\frac{1}{5} a^2 B x^5+\frac{1}{3} a A c x^6+\frac{2}{7} a B c x^7+\frac{1}{8} A c^2 x^8+\frac{1}{9} B c^2 x^9 \]

[Out]

(a^2*A*x^4)/4 + (a^2*B*x^5)/5 + (a*A*c*x^6)/3 + (2*a*B*c*x^7)/7 + (A*c^2*x^8)/8
+ (B*c^2*x^9)/9

_______________________________________________________________________________________

Rubi [A]  time = 0.143888, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ \frac{1}{4} a^2 A x^4+\frac{1}{5} a^2 B x^5+\frac{1}{3} a A c x^6+\frac{2}{7} a B c x^7+\frac{1}{8} A c^2 x^8+\frac{1}{9} B c^2 x^9 \]

Antiderivative was successfully verified.

[In]  Int[x^3*(A + B*x)*(a + c*x^2)^2,x]

[Out]

(a^2*A*x^4)/4 + (a^2*B*x^5)/5 + (a*A*c*x^6)/3 + (2*a*B*c*x^7)/7 + (A*c^2*x^8)/8
+ (B*c^2*x^9)/9

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 11.3566, size = 61, normalized size = 0.94 \[ \frac{A a^{2} x^{4}}{4} + \frac{A a c x^{6}}{3} + \frac{A c^{2} x^{8}}{8} + \frac{B a^{2} x^{5}}{5} + \frac{2 B a c x^{7}}{7} + \frac{B c^{2} x^{9}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**3*(B*x+A)*(c*x**2+a)**2,x)

[Out]

A*a**2*x**4/4 + A*a*c*x**6/3 + A*c**2*x**8/8 + B*a**2*x**5/5 + 2*B*a*c*x**7/7 +
B*c**2*x**9/9

_______________________________________________________________________________________

Mathematica [A]  time = 0.00471207, size = 65, normalized size = 1. \[ \frac{1}{4} a^2 A x^4+\frac{1}{5} a^2 B x^5+\frac{1}{3} a A c x^6+\frac{2}{7} a B c x^7+\frac{1}{8} A c^2 x^8+\frac{1}{9} B c^2 x^9 \]

Antiderivative was successfully verified.

[In]  Integrate[x^3*(A + B*x)*(a + c*x^2)^2,x]

[Out]

(a^2*A*x^4)/4 + (a^2*B*x^5)/5 + (a*A*c*x^6)/3 + (2*a*B*c*x^7)/7 + (A*c^2*x^8)/8
+ (B*c^2*x^9)/9

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 54, normalized size = 0.8 \[{\frac{{a}^{2}A{x}^{4}}{4}}+{\frac{{a}^{2}B{x}^{5}}{5}}+{\frac{aAc{x}^{6}}{3}}+{\frac{2\,aBc{x}^{7}}{7}}+{\frac{A{c}^{2}{x}^{8}}{8}}+{\frac{B{c}^{2}{x}^{9}}{9}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^3*(B*x+A)*(c*x^2+a)^2,x)

[Out]

1/4*a^2*A*x^4+1/5*a^2*B*x^5+1/3*a*A*c*x^6+2/7*a*B*c*x^7+1/8*A*c^2*x^8+1/9*B*c^2*
x^9

_______________________________________________________________________________________

Maxima [A]  time = 0.693652, size = 72, normalized size = 1.11 \[ \frac{1}{9} \, B c^{2} x^{9} + \frac{1}{8} \, A c^{2} x^{8} + \frac{2}{7} \, B a c x^{7} + \frac{1}{3} \, A a c x^{6} + \frac{1}{5} \, B a^{2} x^{5} + \frac{1}{4} \, A a^{2} x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)*x^3,x, algorithm="maxima")

[Out]

1/9*B*c^2*x^9 + 1/8*A*c^2*x^8 + 2/7*B*a*c*x^7 + 1/3*A*a*c*x^6 + 1/5*B*a^2*x^5 +
1/4*A*a^2*x^4

_______________________________________________________________________________________

Fricas [A]  time = 0.265256, size = 1, normalized size = 0.02 \[ \frac{1}{9} x^{9} c^{2} B + \frac{1}{8} x^{8} c^{2} A + \frac{2}{7} x^{7} c a B + \frac{1}{3} x^{6} c a A + \frac{1}{5} x^{5} a^{2} B + \frac{1}{4} x^{4} a^{2} A \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)*x^3,x, algorithm="fricas")

[Out]

1/9*x^9*c^2*B + 1/8*x^8*c^2*A + 2/7*x^7*c*a*B + 1/3*x^6*c*a*A + 1/5*x^5*a^2*B +
1/4*x^4*a^2*A

_______________________________________________________________________________________

Sympy [A]  time = 0.109211, size = 61, normalized size = 0.94 \[ \frac{A a^{2} x^{4}}{4} + \frac{A a c x^{6}}{3} + \frac{A c^{2} x^{8}}{8} + \frac{B a^{2} x^{5}}{5} + \frac{2 B a c x^{7}}{7} + \frac{B c^{2} x^{9}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**3*(B*x+A)*(c*x**2+a)**2,x)

[Out]

A*a**2*x**4/4 + A*a*c*x**6/3 + A*c**2*x**8/8 + B*a**2*x**5/5 + 2*B*a*c*x**7/7 +
B*c**2*x**9/9

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.26975, size = 72, normalized size = 1.11 \[ \frac{1}{9} \, B c^{2} x^{9} + \frac{1}{8} \, A c^{2} x^{8} + \frac{2}{7} \, B a c x^{7} + \frac{1}{3} \, A a c x^{6} + \frac{1}{5} \, B a^{2} x^{5} + \frac{1}{4} \, A a^{2} x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)*x^3,x, algorithm="giac")

[Out]

1/9*B*c^2*x^9 + 1/8*A*c^2*x^8 + 2/7*B*a*c*x^7 + 1/3*A*a*c*x^6 + 1/5*B*a^2*x^5 +
1/4*A*a^2*x^4